package com.chb.builder;

/**
 * @author chihb
 * @create-time 2024/10/23 9:43
 * @description
 */
public class BMW implements Builder{
    private Car car = new Car();
    @Override
    public void buildWheel() {
        car.setWheel("bmw wheel");
    }

    @Override
    public void buildEngine() {
        car.setEngine("bmw engine");
    }

    @Override
    public void buildWindow() {
        car.setWindow("bmw window");
    }

    @Override
    public Car CreateCar() {
        return car;
    }
}
